package com.vm.osm.business.dto.eam.project;

import com.google.common.base.MoreObjects;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 项目分页行
 *
 * @author Xuerong Xue
 */
@Data
public class ProjectRow implements Serializable {
    @ApiModelProperty("联系人")
    private String contact_name;
    @ApiModelProperty("联系电话")
    private String contact_phone;
    @ApiModelProperty("合同编号")
    private String contract_code;
    @ApiModelProperty("创建人员")
    private String creator;
    @ApiModelProperty("编号")
    private String id;
    @ApiModelProperty("项目名称")
    private String project_name;
    @ApiModelProperty("备注")
    private String remark;
    @ApiModelProperty("供应商")
    private String supplier_name;

    @Override
    public String toString() {
        return MoreObjects.toStringHelper(this)
                .add("contact_name", contact_name)
                .add("contact_phone", contact_phone)
                .add("contract_code", contract_code)
                .add("creator", creator)
                .add("id", id)
                .add("project_name", project_name)
                .add("remark", remark)
                .add("supplier_name", supplier_name)
                .toString();
    }
}
